var config = require("core/config");
var host = config.host;
var circleRoot = host + "/circle";
var circleV1_4 = host + "/v1.4/index/circle";

module.exports.url = {
		v1_4:{//新版修改
			createCircle: circleV1_4+"/create",//创建圈子
			joinCircle: circleV1_4+"/join",//加入圈子
			newCircle: circleV1_4+"/new",//新的圈子（如果用户未登陆，则调此接口）
			myCircle: circleV1_4+"/my",//我的圈子
			listDefault: circleV1_4+"/list/default",//综合
			listZone: circleV1_4+"/list/zone",//地区
			listTagName: circleV1_4+"/list/tagName",//话题
			listMember: circleV1_4+"/list/member"//成员
		},
		base:{
			//index: circleRoot+"/base/index",
			detail: circleRoot+"/base/detail",
			detail4manage: circleRoot+"/base/detail4manage",
			detail4upgrade: circleRoot+"/base/detail4upgrade",
			search: circleRoot+"/base/search",
			create: circleRoot+"/base/create",
			update: circleRoot+"/base/update",
			updateName: circleRoot+"/base/updateName",
			updateOpenLevel: circleRoot+"/base/updateOpenLevel",
			dismiss: circleRoot+"/base/dismiss", //解散圈子(参数：id)
			myCreatedCircles: circleRoot+"/base/myCreatedCircles",
			myJoinCircles: circleRoot+"/base/myJoinCircles",
			myCircles: circleRoot+"/base/myCircles",
			myOrderlyCircles: circleRoot+"/base/myOrderlyCircles", //我的圈子【按我发布话题的频率倒序排列】
			myManageCircles: circleRoot+"/base/myManageCircles",
			create4chat: circleRoot+"/base/create4chat",
			create4Community: circleRoot+"/base/create4Community",
			more: circleRoot+"/base/more",
			list4Community: circleRoot+"/base/list4Community",
			herJoinCircles: circleRoot+"/base/herJoinCircles",
			herCircles: circleRoot+"/base/herCircles",
			herOpenCircles: circleRoot+"/base/herOpenCircles",
			setAllMemberNoVote: circleRoot+"/base/setAllMemberNoVote",//设置-所有成员不能发布投票
			setAllMemberCanVote: circleRoot+"/base/setAllMemberCanVote",//设置-所有成员可以发布投票
			setAllMemberNoActivity: circleRoot+"/base/setAllMemberNoActivity",//设置-所有成员不能发布-活动
			setAllMemberCanActivity: circleRoot+"/base/setAllMemberCanActivity",//设置-所有成员可以发布-活动
			isNoVote: circleRoot+"/base/isNoVote",//是否-全员禁止发布投票
			isNoActivity: circleRoot+"/base/isNoActivity", //是否-全员禁止发布活动
			myGroupChats: circleRoot+"/base/myGroupChats", //我的群聊列表（包括我创建的和加入的群聊）
			isGroupChat: circleRoot+"/base/isGroupChat", //该圈子是否只是群聊（只能聊天）
			showMemberGrade: circleRoot+"/base/showMemberGrade",//显示成员头衔
			hideMemberGrade: circleRoot+"/base/hideMemberGrade", //不显示成员头衔
			isShowMemberGrade: circleRoot+"/base/isShowMemberGrade", //是否-显示-成员头衔
			list: circleRoot+"/base/list" //是否-显示-成员头衔
		},
		info:{
			//圈子资料
			moreInfo: circleRoot+"/info/moreInfo"
		},
		member:{
			isCircleMember: circleRoot+"/member/isCircleMember",//是否成员(参数：circleId,memberId)
			detail4manage: circleRoot+"/member/detail4manage",//管理一个成员
			members4circle: circleRoot+"/member/members4circle",
			members4manageCircle: circleRoot+"/member/members4manageCircle",//管理圈子的成员
			detail: circleRoot+"/member/detail",
			joinCircle: circleRoot+"/member/joinCircle",
			quitCircle: circleRoot+"/member/quitCircle",//退出圈子(参数：circleId)
			kickMember: circleRoot+"/member/kickMember",
			addPrivate: circleRoot+"/member/addPrivate",
			addPrivateBath: circleRoot+"/member/addPrivateBath",//批量隐藏圈子
			delPrivate: circleRoot+"/member/delPrivate",
			setCircleManager: circleRoot+"/member/setCircleManager",
			cancleCircleManager: circleRoot+"/member/cancleCircleManager",
			myPrivateCircles: circleRoot+"/member/myPrivateCircles",
			myUnPrivateCircles: circleRoot+"/member/myUnPrivateCircles",
			scan2joinCircle: circleRoot+"/member/scan2joinCircle",
			setBlack: circleRoot + "/member/setBlack",//屏蔽(拉黑)
			unSetBlack: circleRoot + "/member/unSetBlack",
			authAddVote: circleRoot + "/member/authAddVote",//授权成员发布-投票
			unAuthAddVote: circleRoot + "/member/unAuthAddVote",//撤消授权成员发布-投票
			authAddActivity: circleRoot + "/member/authAddActivity",//授权成员发布-活动
			unAuthAddActivity: circleRoot + "/member/unAuthAddActivity", //撤消授权成员发布-活动
			pull2joinCircle: circleRoot + "/member/pull2joinCircle", //拉人入圈子(群聊)-马上加入(参数： beInviterIds,circleId)
			
			setGrade: circleRoot + "/member/setGrade",//设置成员等级头衔(参数：circleId,memberId,gradeCode)
			removeGrade: circleRoot + "/member/removeGrade",//删除成员的等级头衔(参数：circleId,memberId)
			setGradeBath: circleRoot + "/member/setGradeBath",//设置成员等级头衔-批量(参数：circleId,memberIds,gradeCode)
			members4Grade: circleRoot + "/member/members4Grade", //查询一个圈子里同一个等级代码的成员(参数：circleId,gradeCode)
			members4NoGrade: circleRoot + "/member/members4NoGrade" //查询一个圈子里没有等级代码的成员(参数：circleId)
		},
		memberGrade:{
			detail: circleRoot+"/member/grade/detail",//修改名称(参数：id)
			update: circleRoot+"/member/grade/update",//修改名称(参数：id)
			list4circle: circleRoot+"/member/grade/list4circle",//查询一个圈子的成员等级列表(参数：circleId)
			setGradeEnable: circleRoot+"/member/grade/setGradeEnable",//启用一个成员等级代码(参数：circleId,gradeCode)
			setGradeDisable: circleRoot+"/member/grade/setGradeDisable" //停用一个成员等级代码(参数：circleId,gradeCode)
		},
		topic:{
			detail: circleRoot+"/topic/detail",
			list: circleRoot+"/topic/list",
			list4circle: circleRoot+"/topic/list4circle",
			list4manageCircle: circleRoot+"/topic/list4manageCircle",//管理圈子的话题
			create: circleRoot+"/topic/create",
			update: circleRoot+"/topic/update",
			show: circleRoot+"/topic/show",
			hide: circleRoot+"/topic/hide",
			myTopicList: circleRoot+"/topic/myTopicList",
			doDelete: circleRoot+"/topic/delete",
			newCount4Circle: circleRoot+"/topic/newCount4Circle", //某个圈子的新增话题数量(参数：circleId,startAt)
			tagList: circleRoot+"/topic/tagList", //查询圈子话题标签列表(参数：{})
			doTop4Topic: circleRoot+"/topic/doTop4Topic",//置顶话题(参数：{id,tag})
			undoTop4Topic: circleRoot+"/topic/undoTop4Topic",//取消置顶话题(参数：{id})
			getPraiseUserList: circleRoot+"/topic/getPraiseUserList", //查询一个话题的点赞人列表(参数：{id})
			listCicleTopic4Community: circleRoot+"/topic/listCicleTopic4Community", //社区主页--分页查询我加入的圈子的动态
			listTopic4Her: circleRoot+"/topic/listTopic4Her" //个人中心--分页查询他发布的圈子的动态
		},
		upgradeApply:{
			apply2Upgrade: circleRoot+"/upgrade/apply/apply2Upgrade", //申请升级
			cancel: circleRoot+"/upgrade/apply/cancel", //取消申请【删除】
			myApplys: circleRoot+"/upgrade/apply/myApplys", //我的申请记录
			detail: circleRoot+"/upgrade/apply/detail", //圈子升级申请详情
		},
		invite:{
			create: circleRoot+"/invite/create",
			createBath: circleRoot+"/invite/createBath",
			accept: circleRoot+"/invite/accept",
			ignore: circleRoot+"/invite/ignore",
			myCircleInviteList: circleRoot+"/invite/myCircleInviteList",
			remove : circleRoot+"/invite/remove"
		},
		apply:{
			create: circleRoot+"/apply/create",
			accept: circleRoot+"/apply/acceptApply",
			ignore: circleRoot+"/apply/ignoreApply",
			circleApply2Me: circleRoot+"/apply/circleApply2Me",
			remove : circleRoot+"/apply/removeApply"
		},
		category:{
			levle1List: circleRoot+"/category/levle1List",
			getChildrenList: circleRoot+"/category/getChildrenList"
		},
		sign:{
			//签到
			sign: circleRoot+"/sign/sign"
		}
};